import { defHttp } from '@/utils/http/axios';
import { StandardModel } from './model/standardModel';
import { BasicFetchResult } from '@/api/model/baseModel'

import { ErrorMessageMode } from '#/axios';

export function getStandardModelList(mode: ErrorMessageMode = 'message') {
  return defHttp.get<BasicFetchResult<StandardModel>>(
    {
      url: '/datacenter/standard/models',
    },
    {
      errorMessageMode: mode
    }
  );
}
